package com.hyw.cm.session.pubsub;

import java.util.Objects;

public class SessionBindingEvent {

  private String serverId;

  private String ip;

  private Integer port;

  private String equiementId;

  public SessionBindingEvent(String serverId, String ip, Integer port, String equiementId) {
    super();
    Objects.requireNonNull(serverId);
    Objects.requireNonNull(ip);
    Objects.requireNonNull(port);
    Objects.requireNonNull(equiementId);
    this.serverId = serverId;
    this.ip = ip;
    this.port = port;
    this.equiementId = equiementId;
  }

  public String getServerId() {
    return serverId;
  }

  public String getIp() {
    return ip;
  }

  public Integer getPort() {
    return port;
  }

  public String getEquiementId() {
    return equiementId;
  }

}
